#pragma strict

var beckgroupTexture:Texture;
static var aglive:String;
static var integral:float;
function Start () {

}

function Update () {

}

function OnGUI()
{
	GUI.DrawTexture(Rect(0,0,Screen.width,Screen.height),beckgroupTexture);
	if(GUI.Button(Rect(120,330,80,30),"QUIT"))
	{
		Application.LoadLevel("Main");
	}
	if(GUI.Button(Rect(280,330,80,30),"RETRY"))
	{
		Application.LoadLevel(aglive);
	}
	GUI.Label(Rect(30,60,120,20),"积分："+integral);
}